package com.ckf.login_wx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.springframework.stereotype.Component;


@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("repertorynum")
public class RepertoryNum {

    @TableId(type = IdType.AUTO)
    private int id;
    private String modele;
    private String weight;
    private String colour;
    private int wall;
    private int quantite;
    private int num;
    
    public void entity(Repertory Repertory) {
    	this.id=Repertory.getId();
    	this.modele=Repertory.getModele();
    	this.weight=Repertory.getWeight();
    	this.colour=Repertory.getColour();
    	this.wall=Repertory.getWall();
    	this.quantite=Repertory.getQuantite();
    	this.num=Repertory.getNum();
	}
    
    
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getModele() {
		return modele;
	}
	public void setModele(String modele) {
		this.modele = modele;
	}
	public String getWeight() {
		return weight;
	}
	public void setWeight(String weight) {
		this.weight = weight;
	}
	public String getColour() {
		return colour;
	}
	public void setColour(String colour) {
		this.colour = colour;
	}
	public int getWall() {
		return wall;
	}
	public void setWall(int wall) {
		this.wall = wall;
	}
	public int getQuantite() {
		return quantite;
	}
	public void setQuantite(int quantite) {
		this.quantite = quantite;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	
}
